<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <style>
    .father {
      width: 300px;
      height: 300px;
      background-color: pink;
      display: flex;
      /* 顺时针旋转90度，再左右对调上下不变 */
      flex-direction: column;
      /* 逆时针旋转90度 */
      /* flex-direction: column-reverse; */
      /* 左右对调，上下不变 */
      /* flex-direction: row-reverse; */
      justify-content: flex-start;
      align-items: flex-end;
    }
    .father2 {
      width: 300px;
      height: 300px;
      background-color: green;
      display: flex;
      justify-content: flex-start;
      align-items: flex-end;
    }
    .son {
      width: 100px;
      height: 100px;
      background-color: red;
    }
    
    </style>
    <link href="css/style.css" rel="stylesheet">
  </head>
  <body>
    <div class="father">
      <div class="son">1</div>
      <div class="son">2</div>
    </div>
    <div class="father2">
      <div class="son">1</div>
      <div class="son">2</div>
    </div>
    <h2>主轴方向变了，侧轴不是简单的同样旋转</h2>
    <p>怎么记侧轴方向旋转方法？</p>
    <p>都以一步最快方式方法，只是column在额外左右对调一下</p>
    
  
  </body>
</html>
